package com.stx.jeepay.core.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.stx.jeepay.core.entity.SysRoleEntRelaEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 系统角色权限关联表
 * 
 * @author suntingxing
 * @email 1@gmail.com
 * @date 2023-09-11 13:05:22
 */
@Mapper
public interface SysRoleEntRelaDao extends BaseMapper<SysRoleEntRelaEntity> {

    // 根据用户查询所有的entId集合
    List<String> selectEntIdsByUserId(@Param("userId") Long userId, @Param("sysType") String sysType);
}
